"use strict";

/**
 * @auther wtfssd
 * Created by wtfssd on 2017/12/4
 */
import * as React from 'react'
import {commonProps, commonStyles} from "../../assets/styles/common";
import NavBackButton from "../../component/BackButton";
import Colors from "../../assets/styles/Colors";
import WhiteSpace from "../../component/WhiteSpace";
import MyText from "../../component/MyText";



const {View, ScrollView} = require('react-native');
const {connect} = require('react-redux');
const NavigationBar = require('react-native-navbar').default;
const {Actions} = require("react-native-router-flux");
const {List} = require('antd-mobile');

class PrinterUsagePage extends React.Component<any, any> {
    render() {
        return (
            <View style={[commonStyles.container]}>
                <NavigationBar {...commonProps.navBar}
                               leftButton={<NavBackButton/>}
                               title={{title: '打印用法', tintColor: Colors.White}}
                />
                <ScrollView>
                    <List>
                        <List.Item arror='horizontal' onClick={Actions.printerUsageHistory}>时间 的打印明细</List.Item>
                        <WhiteSpace color={Colors.Background}/>
                        <List.Item>姓名</List.Item>
                        <List.Item extra='0'><MyText color={Colors.SubTitle}>黑白打印(额度 0/月)</MyText></List.Item>
                        <List.Item extra='0'><MyText color={Colors.SubTitle}>彩色打印(额度 0/月)</MyText></List.Item>
                        <List.Item>超额使用费</List.Item>
                        <List.Item extra='¥0'><MyText color={Colors.SubTitle}>黑白打印(¥0/张)</MyText></List.Item>
                        <List.Item extra='¥0'><MyText color={Colors.SubTitle}>彩色打印(¥0/张)</MyText></List.Item>
                        <List.Item extra='¥0'><MyText color={Colors.SubTitle}>超额使用费总额</MyText></List.Item>
                    </List>
                </ScrollView>
            </View>
        );
    }
}


export default PrinterUsagePage;